package com.fcgzs;

import com.xpand.starter.canal.annotation.EnableCanalClient;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Auther: ljj
 * @Description:
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableCanalClient //开启Canal服务
@EnableFeignClients(basePackages = "com.fcgzs.item.feign")
public class CanalApplication {

    public static void main(String[] args) {
        SpringApplication.run(CanalApplication.class);
    }
}
